/*
* @(#)DemoController.java 1.0 Sep 5, 2013
*
* Copyright @2011-2011 Gopay Information and Technology Co., Ltd.
* Sanyunqiao, Chaoyang, Beijing, 100027, China.
* All Rights Reserved.
*
* This software is the confidential and proprietary information of
* Gopay Information and technology Co., Ltd. ("Confidential Information").
* You shall not disclose such Confidential Information and shall use it only in
* accordance with the terms of the license agreement you entered into with Gopay.
*/
package com.neo.debade.demo.controller;

import com.neo.debade.base.controller.BaseController;
import com.neo.debade.demo.service.IDemoService;

/**
 *
 * @author zhong_xin
 * @version 1.0 Sep 5, 2013
 */
//@Controller
public class DemoController extends BaseController {
	
//	@Resource(name="demoService")
	private IDemoService demoService;

//	@RequestMapping(value = {"/demohtml.htm"}, method = RequestMethod.GET)
//	public ModelAndView demohtml(HttpServletRequest request, HttpServletResponse response/*, @PathVariable String id*/) {
//		
//	
//		ModelAndView mv = new ModelAndView("demo");
//		
//		Card card = new Card();
//		card.setCardNo("6225767200000001");
//		card.setCardPasswd("123456");
//		card.setCreateDate(new Date());
//		card.setStatus("0");
//		
//		demoService.saveCard(card);
//		mv.addObject("card", card);
//		mv.addObject("name", "neo");
//		return mv;
//		
//	}
	
//	@RequestMapping(value = {"/demotext.htm"}, method = RequestMethod.GET)
//	public void demotext(HttpServletRequest request, HttpServletResponse response) {
//		
//		print(request, response, "debade......");
//		
//	}
}
